<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>订单</title>
    <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css">
    <link rel="StyleSheet" href="../css/jpetstore.css" type="text/css" media="screen" />
</head>
<body>
<!-- 顶栏 -->
<div th:replace="seller/topp"></div>
<!-- 中间主体 -->
<div class="container" id="content">
    <div class="row">
        <div th:replace="seller/menu::menu"></div>
        <div class="col-md-10">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <div class="row">

                        <h3>订单管理模块</h3>

                        <form class="bs-example bs-example-form col-md-5" role="form" style="margin: 20px 0 10px 0;" action="searchOrder" id="form1" method="post">
                            <div class="input-group">
<!--                                <input type="text" class="form-control" placeholder="请输入名称" name="findByName">-->
                                <input type="text" class="keyword" placeholder="请输入名称" name="keyword">
<!--                                <span class="input-group-addon btn" onclick="document.getElementById('form1').submit" id="sub">搜索</span>-->
                                <input type="submit" name="searchOrder" value="搜索" />
                            </div>
                        </form>

<!--                        <button class="btn btn-default col-md-2" style="margin-top: 20px" onClick="location.href=‘#’">-->
<!--                            添加订单-->
<!--                            <sapn class="glyphicon glyphicon-plus"/>-->
<!--                        </button>-->

                    </div>
                </div>
                <!--选择用户信息显示-->
                <div id="Menu1">
                    <div id="MenuContent">
                        <a th:href="@{viewShowOrder?choice=order1Field}">订单信息1</a>
                        <img src="../images/separator.gif" />
                        <a th:href="@{viewShowOrder?choice=order2Field}">订单信息2</a>
                        <img src="../images/separator.gif" />
                        <a th:href="@{viewShowOrder?choice=order3Field}">订单信息3</a>
                        </a>
                    </div>
                </div>

                <div th:if="${choice==nulll}">
                    <div th:replace="seller/mOrder/includeOrder1::order1Field"></div></div>
                <div th:if="${choice=='order1Field'}">
                    <div th:replace="seller/mOrder/includeOrder1::order1Field"></div></div>
                <div th:if="${choice=='order2Field'}">
                    <div th:replace="seller/mOrder/includeOrder2::order2Field"></div></div>
                <div th:if="${choice=='order3Field'}">
                    <div th:replace="seller/mOrder/includeOrder3::order3Field"></div></div>

            </div>
        </div>
    </div>
</div>
</body>
</html>